package com.educate.upms.rpc.api;

import com.educate.upms.model.bo.UpmsOrganizationBO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;

public interface UpmsOrganizationService {

    void create(UpmsOrganizationBO bo);

    void delete(UpmsOrganizationBO bo);

    void delete(String upmsOrganizationId);

    UpmsOrganizationBO detail(String upmsOrganizationId);

    UpmsOrganizationBO detail(UpmsOrganizationBO bo);

    void update(UpmsOrganizationBO bo);

    Page<UpmsOrganizationBO> query(UpmsOrganizationBO bo, PageRequest pageRequest);

    List<UpmsOrganizationBO> list(UpmsOrganizationBO bo);
}
